// 次仓库是总仓库
// 创建Vuex中最核心的store对象
// 引入Vue
import Vue from "vue";
// 引入Vuex
import Vuex from "vuex";
// 引入总的核心对象
import actions from "./actions"
import mutations from "./mutations"
import state from "./state"
import getters from "./getters"
import modules from "./modules"
// 使用Vuex插件
Vue.use(Vuex)
const store = new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
    modules
})
// 暴漏store
export default store;
